package cn.j3code.demo1liyineng;

import cn.j3code.demo1liyineng.Student;

import java.util.List;

public interface StudentService {
    List<Student> getAllStudents();
    Student getStudentById(Long id);
    List<Student> getStudentsByGrade(String grade);
    void addStudent(Student student);
    void updateStudent(Student student);
    void deleteStudent(Long id);
}
